package com.blog.mapper;

import com.blog.bean.ArticleCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ArticleCategoryMapper {
    int deleteByPrimaryKey(@Param("articleCategoryId") Long articleCategoryId);

    int insert(@Param("articleCategory") ArticleCategory articleCategory);

    int insertSelective(@Param("articleCategory") ArticleCategory articleCategory);

    ArticleCategory selectByPrimaryKey(@Param("articleCategoryId") Long articleCategoryId);

    int updateByPrimaryKeySelective(@Param("articleCategory") ArticleCategory articleCategory);

    int updateByPrimaryKey(@Param("articleCategory") ArticleCategory articleCategory);

    List<ArticleCategory> selectArticleCategory(@Param("articleCategory") ArticleCategory articleCategory);
}